#pragma once
#include "ExtendBaseProcessor.h"
#include "BaseObject.h"

class RocketExtendProcessor : public ExtendBaseProcessor
{
public:
	RocketExtendProcessor(void);
	~RocketExtendProcessor(void);

	virtual void processing( float dt );

	virtual void onEnter();

	virtual void onExit();

	BaseObject* findTarget();

	CREATE_FUNC(RocketExtendProcessor);

	CC_SYNTHESIZE_RETAIN(BaseObject*, _lockTarget, LockTarget);

	float _currentTime;
	int _state;

};

